using UnityEngine;

public class AIWeapon : MonoBehaviour
{
	public FPSWeaponEquipment EquippedWeapon;

	private void Start()
	{
	}

	public void OnAttached(GameObject item)
	{
		EquippedWeapon = item.GetComponent<FPSWeaponEquipment>();
		EquippedWeapon.InfinityAmmo = true;
		EquippedWeapon.IsVisible = false;
		EquippedWeapon.GetComponent<AudioSource>().enabled = false;
	}
}
